<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8" />
    <title>HTML accessibility: Task 4</title>
    <link rel="stylesheet" href="../styles.css" />
    <style>
      * {
        box-sizing: border-box;
      }
    </style>

    <style class="editable">
      .preview {
        width: 400px;
        margin: 0 auto;
      }

      main img {
        display: block;
        width: 250px;
        margin: 20px auto;
        box-shadow: 5px 5px 0 black;
      }

      header {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
      }
    </style>
  </head>

  <body>
    <section class="preview">

      <header>
        <img src="images/star.png" alt="A star that I use to decorate my page">
        <h1>Groovy images</h1>
      </header>
      <main>
        <img src="images/teapot.jpg">
        <img src="images/football.jpg">
      </main>

    </section>

    <textarea class="playable playable-css" style="height: 130px;">
.preview {
  width: 400px;
  margin: 0 auto;
}

main img {
  display: block;
  width: 250px;
  margin: 20px auto;
  box-shadow: 5px 5px 0 black;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
    </textarea>

    <textarea class="playable playable-html" style="height: 220px;">
<header>
  <img src="images/star.png" alt="A star that I use to decorate my page">
  <h1>Groovy images</h1>
</header>
<main>
  <img src="images/teapot.jpg">
  <img src="images/football.jpg">
</main>
    </textarea>

    <div class="playable-buttons">
      <input id="reset" type="button" value="Reset" />
    </div>
  </body>
  <script src="../playable.js"></script>
</html>
